﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace demo2
{
    
    class eat
    {
        private string brand;

        public eat(string brand) 
        {
            this.brand = brand;
        }
        public eat() { }

        public string Brand 
        {
            get { return this.brand; }
            set { this.brand = value; }
        }

        public void info() 
        {
            Console.WriteLine(this.brand);
        }
    }
}
